package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.Address;
import com.itheima.pojo.InterventionSetmeal;
import com.itheima.pojo.Setmeal;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface SetMealDao {
    Page<Setmeal> findPage(String queryString);

    void add(Setmeal setmeal);

    void setSetMealAndCheckGroup(HashMap<String, Integer> map);

    List<Setmeal> getSetmeal();

    Setmeal findAllById(Integer id);

    List<Integer> findCheckGroupIdsBySeatMealId(Integer id);

    List<Map<String, Object>> findSetmealCount();

    List<Setmeal> findAllSetmeal();

    List<Map<String, Object>> findSetmealPrice(@Param("startDate") String startDate, @Param("endDate")String endDate);

    List<InterventionSetmeal> getSetmealByPhone(String telephone);

    List<InterventionSetmeal> findByDate(Map map);

    Map<String, Object> findByOId(Integer oid);

    List<String> findSportsByinterventionId(Integer interventionId);

    List<String> findFoodsByinterventionId(Integer interventionId);
}
